package com.freesky.common.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 14:27 2019-01-11
 * @description:
 */
@Data
public class SystemLog extends Model<SystemLog>{
    public SystemLog() {

    }
    public SystemLog(int id) {
        this.id = id;
    }
    @TableId
    private int id;
    private String username;
    private String operation;
    private String ip;
    private int responseTime;
    private String createTime;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
